package com.xf.leecode.bean;

/**
 * 定义物品类
 */
public class Good {
    public int v;  //物品的价格
    public int p;  //物品的重要度
    public int q;  //物品的主附件ID

    public int a1 = 0;   //附件1ID
    public int a2 = 0;   //附件2ID

    public Good(int v, int p, int q) {
        this.v = v;
        this.p = p;
        this.q = q;
    }

    public void setA1(int a1) {
        this.a1 = a1;
    }

    public void setA2(int a2) {
        this.a2 = a2;
    }
}
